﻿using System;
namespace WcfServiceLibrary1.Ctrl
{
    interface ITicketCtrl
    {
        int addTicket(CinemaProject.Ticket ticket);
        CinemaProject.Ticket getTicketById(string id);
        System.Collections.Generic.List<CinemaProject.Ticket> getTickets();
        System.Collections.Generic.List<CinemaProject.Ticket> getTicketsBySchedule(int scheduleId);
        bool removeTicket(string id);
        bool updateTicket(CinemaProject.Ticket ticket);
    }
}
